extends "../yingxianzuo-2/yingxianzuo-2.gd"


func _extInit():
	._extInit()
	lv = 3             #等级的设置
	addSkill("<固化>每秒对血量最低的敌人造成[航空*0.5]的技能伤害", "群星坠落")
var p2 = 0
func _upS():
	._upS()
	qxzl()
#群星坠落伤害加成
var p3 = 1
func qxzl():
	var cha = getFirstCha(1, "sortByNowHp")
	if cha != null:
		createCustEff(cha.position, "eff/starDown", 10, false, 1.8, Vector2(0, -20))
		azurHurtChara(cha, att.air*0.5, sys.HurtType.WEAPON, sys.AtkType.SKILL, "群星坠落", false, p3 + p2)
		if upgraded == 2 and not cha.isDeath:
			castBuff(cha, buff.b_zhuoShao.new(2))